<script>
import checkUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update.js';
export default {
	onLaunch: function () {
		this.$store.commit('initUser');
		// checkUpdate();
		// 获取系统的宽和高
		uni.getSystemInfo({
			success(res) {
				console.log(res.screenHeight);
				console.log(res.screenWidth);
			}
		});
		console.log('App Launch');
	},
	onShow: function () {
		
		console.log('App Show');
	},
	onHide: function () {
		console.log('App Hide');
	}
};
</script>

<style lang="scss">
page {
	position: relative;
}
@import url('static/iconfont/iconfont.css');
/*每个页面公共css */
@import 'uni_modules/uview-ui/index.scss';
// 思源黑体粗体
@font-face {
	font-family: 'Source Han Sans SC Bold';
	src: url('./static/font/Source_Han/Source_Han_Sans_SC_Bold.otf') format('opentype');
}
// 思源黑体正常
@font-face {
	font-family: 'Source Han Sans SC Normal';
	src: url('./static/font/Source_Han/Source_Han_Sans_SC_Normal_Normal.otf');
}
</style>
